﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	xmlns:local="clr-namespace:AphroditePiano"
	x:Class="AphroditePiano.KeyBoard"
	d:DesignWidth="448" d:DesignHeight="160">

	<Grid x:Name="LayoutRoot">
		<Canvas Margin="0,0,0,0" Width="448" Height="160" HorizontalAlignment="Center" VerticalAlignment="Center">
			<Border Height="160" Width="448" BorderBrush="#FFFFFFFF" BorderThickness="3,3,1,1" CornerRadius="20,20,20,20" HorizontalAlignment="Center" VerticalAlignment="Center">
				<Border.Background>
					<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
						<GradientStop Color="#00FFFFFF" Offset="1"/>
						<GradientStop Color="#7FFFFFFF" Offset="0"/>
						<GradientStop Color="#03FFFFFF" Offset="0.374"/>
						<GradientStop Color="#33FFFFFF" Offset="0.203"/>
					</LinearGradientBrush>
				</Border.Background>
			</Border>
			<Canvas Height="124" Width="410" Canvas.Left="20" Canvas.Top="20" HorizontalAlignment="Center" VerticalAlignment="Center">
				<local:BtnKey Width="40" Height="40" KeyStr="Q" KeyStates="{Binding Mode=TwoWay, Path=IsQDown}" />
				<local:BtnKey Width="40" Height="40" KeyStr="W" KeyStates="{Binding Mode=TwoWay, Path=IsWDown}" Canvas.Left="41"/>
				<local:BtnKey Width="40" Height="40" KeyStr="E" KeyStates="{Binding Mode=TwoWay, Path=IsEDown}" Canvas.Left="82"/>
				<local:BtnKey Width="40" Height="40" KeyStr="R" KeyStates="{Binding Mode=TwoWay, Path=IsRDown}" Canvas.Left="123"/>
				<local:BtnKey Width="40" Height="40" KeyStr="T" KeyStates="{Binding Mode=TwoWay, Path=IsTDown}" Canvas.Left="164"/>
				<local:BtnKey Width="40" Height="40" KeyStr="Y" KeyStates="{Binding Mode=TwoWay, Path=IsYDown}" Canvas.Left="205"/>
				<local:BtnKey Width="40" Height="40" KeyStr="U" KeyStates="{Binding Mode=TwoWay, Path=IsUDown}" Canvas.Left="246"/>
				<local:BtnKey Width="40" Height="40" KeyStr="I" KeyStates="{Binding Mode=TwoWay, Path=IsIDown}" Canvas.Left="287"/>
				<local:BtnKey Width="40" Height="40" KeyStr="O" KeyStates="{Binding Mode=TwoWay, Path=IsODown}" Canvas.Left="328"/>
				<local:BtnKey Width="40" Height="40" KeyStr="P" KeyStates="{Binding Mode=TwoWay, Path=IsPDown}" Canvas.Left="369"/>
				<local:BtnKey Width="40" Height="40" KeyStr="A" KeyStates="{Binding Mode=TwoWay, Path=IsADown}" Canvas.Left="20" Canvas.Top="41"/>
				<local:BtnKey Width="40" Height="40" KeyStr="S" KeyStates="{Binding Mode=TwoWay, Path=IsSDown}" Canvas.Left="61" Canvas.Top="41"/>
				<local:BtnKey Width="40" Height="40" KeyStr="D" KeyStates="{Binding Mode=TwoWay, Path=IsDDown}" Canvas.Left="102" Canvas.Top="41"/>
				<local:BtnKey Width="40" Height="40" KeyStr="F" KeyStates="{Binding Mode=TwoWay, Path=IsFDown}" Canvas.Left="143" Canvas.Top="41"/>
				<local:BtnKey Width="40" Height="40" KeyStr="G" KeyStates="{Binding Mode=TwoWay, Path=IsGDown}" Canvas.Left="184" Canvas.Top="41"/>
				<local:BtnKey Width="40" Height="40" KeyStr="H" KeyStates="{Binding Mode=TwoWay, Path=IsHDown}" Canvas.Left="225" Canvas.Top="41"/>
				<local:BtnKey Width="40" Height="40" KeyStr="J" KeyStates="{Binding Mode=TwoWay, Path=IsJDown}" Canvas.Left="266" Canvas.Top="41"/>
				<local:BtnKey Width="40" Height="40" KeyStr="K" KeyStates="{Binding Mode=TwoWay, Path=IsKDown}" Canvas.Left="307" Canvas.Top="41"/>
				<local:BtnKey Width="40" Height="40" KeyStr="L" KeyStates="{Binding Mode=TwoWay, Path=IsLDown}" Canvas.Left="348" Canvas.Top="41"/>
				<local:BtnKey Width="40" Height="40" KeyStr="Z" KeyStates="{Binding Mode=TwoWay, Path=IsZDown}" Canvas.Left="41" Canvas.Top="82"/>
				<local:BtnKey Width="40" Height="40" KeyStr="X" KeyStates="{Binding Mode=TwoWay, Path=IsXDown}" Canvas.Left="82" Canvas.Top="82"/>
				<local:BtnKey Width="40" Height="40" KeyStr="C" KeyStates="{Binding Mode=TwoWay, Path=IsCDown}" Canvas.Left="123" Canvas.Top="82"/>
				<local:BtnKey Width="40" Height="40" KeyStr="V" KeyStates="{Binding Mode=TwoWay, Path=IsVDown}" Canvas.Left="164" Canvas.Top="82"/>
				<local:BtnKey Width="40" Height="40" KeyStr="B" KeyStates="{Binding Mode=TwoWay, Path=IsBDown}" Canvas.Left="205" Canvas.Top="82"/>
				<local:BtnKey Width="40" Height="40" KeyStr="N" KeyStates="{Binding Mode=TwoWay, Path=IsNDown}" Canvas.Left="246" Canvas.Top="82"/>
				<local:BtnKey Width="40" Height="40" KeyStr="M" KeyStates="{Binding Mode=TwoWay, Path=IsMDown}" Canvas.Left="287" Canvas.Top="82"/>
			</Canvas>
		</Canvas>
		
	</Grid>
</UserControl>